package com.xm.service.module.USER.po;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.sql.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
@ToString
public class User {
    private int uid;
    private String uname;
    private String password;
    private String email;
    private int age;
    private String gender;
    private Date createdAt;
    private Date updatedAt;

    public User(String uname, String password, String email, int age, String gender) {
        this.uname = uname;
        this.password = password;
        this.email = email;
        this.age = age;
        this.gender = gender;
    }
}
